<?php
pdo_query("CREATE TABLE IF NOT EXISTS".tablename('zh_yjm_banner')."(
  `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
  `title` varchar(30) NOT NULL COMMENT '标题',
  `img` varchar(100) NOT NULL COMMENT '图片',
  `link` varchar(255) NOT NULL COMMENT '链接',
  `sort` tinyint(1) unsigned NOT NULL COMMENT '排序',
  `time` datetime NOT NULL COMMENT '时间',
  `uniacid` varchar(30) NOT NULL COMMENT '模块',
  `state` tinyint(1) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;"
);

?>